package com.neuedu.springmvc.pojo;

import com.neuedu.springmvc.entity.Role;
import com.neuedu.springmvc.entity.User;

import java.util.List;

public class MyPojo {
    private User user;
    private Role role;

    private List<User> userList;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    @Override
    public String toString() {
        return "MyPojo{" +
                "user=" + user +
                ", role=" + role +
                ", userList=" + userList +
                '}';
    }
}
